<?php
class Portfoliomanager_Data_Updateportfoliometavalues implements Portfoliomanager_Data_Mainable{
    
    private $core_controller_dataoperation;
    
    public function __construct() {
        $this->core_controller_dataoperation = new Core_Controller_Dataoperation;
    }
    
    public function main(array $variables = null) {
        $variables['query'] = "UPDATE portfolio_meta_values SET portfolio_meta_values.item_meta_title = '".$variables['post']['item_meta_title']."', portfolio_meta_values.item_meta_description = '".$variables['post']['item_meta_description']."', portfolio_meta_values.item_meta_keywords = '".$variables['post']['item_meta_keywords']."' WHERE item_name='".$variables['post']['item_name']."';";
        return $this->core_controller_dataoperation->main($variables);
    }
}
